home *** CD-ROM | disk | FTP | other *** search
/ Games of Daze / Infomagic - Games of Daze (Summer 1995) (Disc 1 of 2).iso / x2ftp / msdos / math / apm / makefile.msc < prev    next >
Encoding:
Makefile  |  1988-10-07  |  932 b   |  46 lines

  1. M          = S
  2.  
  3. CFLAGS          = -A$(M) -DMSC -Ox
  4.  
  5. MAKEFILE      = makefile
  6.  
  7. LIBRARY          = apm.lib
  8.  
  9. RESPFILE      = apm.arf
  10.  
  11. SRCS          = addsub.c \
  12.         calc.c \
  13.         memory.c \
  14.         misc.c \
  15.         muldiv.c \
  16.         utils.c
  17.  
  18. OBJS          = addsub.obj \
  19.         calc.obj \
  20.         memory.obj \
  21.         misc.obj \
  22.         muldiv.obj \
  23.         utils.obj
  24.  
  25. .c.obj:
  26.         cl $(CFLAGS) -c $*.c
  27.  
  28. all:        $(LIBRARY)
  29.  
  30. $(LIBRARY):    $(OBJS)
  31.         @-rm -f $(LIBRARY)
  32.         lib @$(RESPFILE)
  33.  
  34. clean:
  35.         rm -f $(OBJS)
  36.  
  37. ###
  38. addsub.obj: c:/ms/include/stdio.h apm.h c:/ms/include/malloc.h apmlocal.h
  39. calc.obj: c:/ms/include/stdio.h c:/ms/include/varargs.h apm.h \
  40.     c:/ms/include/malloc.h apmlocal.h
  41. memory.obj: c:/ms/include/stdio.h apm.h c:/ms/include/malloc.h apmlocal.h
  42. misc.obj: c:/ms/include/stdio.h apm.h c:/ms/include/malloc.h apmlocal.h
  43. muldiv.obj: c:/ms/include/stdio.h apm.h c:/ms/include/malloc.h apmlocal.h
  44. utils.obj: c:/ms/include/stdio.h c:/ms/include/varargs.h apm.h \
  45.     c:/ms/include/malloc.h apmlocal.h
  46.